package com.example.demo.dao.dataSource1;

import com.example.demo.entity.dataSource1.MemberEntity;

import java.util.List;
import java.util.Map;

/**
 * Created by Wen Gao on 2018/7/11.
 */
public interface MemberMapper {

    void insert(MemberEntity member);
    void update(MemberEntity member);
    void deleteByPrimaryKey(long id);

    void updateProfilesCount();

    MemberEntity select(Long id);
    Long selectByCleanname(String cleanname);
    Long selectByEmail(String email);
    List<Long> selectByPageAndCondition(Map<String, Object> parameters);
    int countByCondition(Map<String, Object> parameters);


    int countByConditionWeibo(Map<String, Object> parameters);
    List<Long> selectByConditionWeibo(Map<String, Object> parameters);

}
